<?php
/**
 * Created by PhpStorm.
 * User: wowostar
 * Date: 2015/9/16
 * Time: 10:17
 */
require(APPPATH.'libraries/REST_Controller.php');
class Mobile_Controller extends REST_Controller{
    public function __construct(){
        parent::__construct("mobile");
    }
    public function common_response($code = 0, $msg = NULL,$extra_params=NULL,$extra_params_in=FALSE){
       // 指定允许其他域名访问

        call_user_func_array(array(__CLASS__,"parent::common_response"),func_get_args());
    }
}